import 'package:get/get.dart';

import 'my_routes.dart';

import 'package:test_app/feature/my/builder_forms/builder_forms_binding.dart';
import 'package:test_app/feature/my/builder_forms/builder_forms_view.dart';
import 'package:test_app/feature/my/text/text_binding.dart';
import 'package:test_app/feature/my/text/text_view.dart';
import 'package:test_app/feature/my/scroll_list/scroll_list_binding.dart';
import 'package:test_app/feature/my/scroll_list/scroll_list_view.dart';
import 'package:test_app/feature/my/reactive_forms/reactive_forms_binding.dart';
import 'package:test_app/feature/my/reactive_forms/reactive_forms_view.dart';


/// 主页模块页面配置
class MyPages {
  MyPages._();

  static final routes = [
    GetPage(
      name: MyRoutes.text,
      page: () => const TextView(),
      binding: TextBinding(),
    ),

    GetPage(
      name: MyRoutes.scrollList,
      page: () => const ScrollListView(),
      binding: ScrollListBinding(),
    ),

    GetPage(
      name: MyRoutes.reactiveForms,
      page: () => const ReactiveFormsView(),
      binding: ReactiveFormsBinding(),
    ),

    GetPage(
      name: MyRoutes.builderForms,
      page: () => const BuilderFormsView(),
      binding: BuilderFormsBinding(),
    ),
  ];
}